<template class="container">
    <div>{{text}}</div>
    <button onclick="Click">按钮</button>
</template>
    
<script type="text/lua">
text = "hello world";

local count = 1;
function Click()
    <!-- print("=======")
    print("=======") -->
    count = count + 1;
    text = "click " .. tostring(count);
end 
</script>
    
<style>
.container {
    width: 100%;
    height: 100%;
    background-color: #00000080;
}
.text {
    font-size: 40px;
}
</style>
